/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package rainful.echo;

import java.util.concurrent.ConcurrentHashMap;

/**
 *
 * @author Administrator
 */
public class DefaultEchoSpace implements EchoSpace {

    private ConcurrentHashMap map;

    public DefaultEchoSpace() {
        map=new ConcurrentHashMap();
    }

    public void add(Object key, Object value) {
        map.put(key, value);
    }

    public Object get(Object key) {
        return map.get(key);
    }
}
